<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:replace="layout::head('首页')">
</head>
<body>
<div th:replace="~{layout::header}"></div>
<h1 style="text-align: center">欢迎访问！使用前请先<a  href="/book/add" th:action="@{/login}" style="font-size: 40px">登录 </a>！</h1>

</body>

</html>